imx: mx6: lcdif: gate clock before changing mux
authorPeng Fan <[email protected]>
Sun, 11 Dec 2016 11:24:26 +0000 (19:24 +0800)
committerStefano Babic <[email protected]>
Fri, 16 Dec 2016 10:38:24 +0000 (11:38 +0100)
commit70ac169723003ecc8e3f5f0abcf7bc4c59b487d9
tree00dc4c323793433ec4631fd9ec62abef9dec6694
parent0e81982de08fc93118c3dc49cc81def0d3801445
imx: mx6: lcdif: gate clock before changing mux

The mux for the lcd clock is not glitchless,
so need to first gate the clock before changing the mux.

Signed-off-by: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
arch/arm/cpu/armv7/mx6/clock.c